<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta http-equiv="x-ua-compatible" content="ie=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  <title>Viewer.js</title>
  <link rel="stylesheet" href="../css/viewer.css">
  <style>
    .pictures {
      list-style: none;
      margin: 0;
      max-width: 30rem;
      padding: 0;
    }

    .pictures > li {
      border: 1px solid transparent;
      float: left;
      height: calc(100% / 3);
      margin: 0 -1px -1px 0;
      overflow: hidden;
      width: calc(100% / 3);
    }

    .pictures > li > img {
      cursor: zoom-in;
      width: 100%;
    }

    .viewer-download {
      color: #fff;
      font-family: FontAwesome, serif;
      font-size: 0.75rem;
      line-height: 1.5rem;
      text-align: center;
    }

    .viewer-download::before {
      content: "\f019";
    }
  </style>
</head>
<body>
  <div class="container">
    <h1>Viewer with custom toolbar</h1>
    <div id="galley" style="border: 1px solid #ccc; height: 300px; position: relative; width: 300px;">
      <div id="viewer" style="display: none;">
        <div class="contentMap">
          <!--<img src="../images/tibet-1.jpg">-->
          <img src="http://web.v-spacedata.com/youzu/obj/T_B2_PIAN_01.png">
          <div style="border-radius: 5px;width: 10px;height: 10px;background-color: #ff4136;">
          </div>
        </div>
      </div>

    </div>
  </div>

  <script src="../js/viewer.js"></script>
  <script>
    window.addEventListener('DOMContentLoaded', function () {
      var viewer = new Viewer(document.getElementById('viewer'), {
        url: 'data-original',
        inline:true,
        toolbar:false,
        navbar:false,
        title:false,
        tooltip:false,
        backdrop:false,
        fullscreen:false,
        button:false
      });
    });
  </script>
</body>
</html>
